import React, { useState } from 'react';
import { TextAreaEnhance } from 'xuanyue';

export default () => {
  const [value, setValue] = useState('');
  return (
    <div>
      <TextAreaEnhance
        style={{ width: '200px' }}
        value={value}
        maxLength={200}
        onChange={(e) => {
          setValue(e.target.value);
        }}
      />
    </div>
  );
};
